package com.netscenery.util;

public class LinkNode {
	private ILinkData data;
	private LinkNode next;
	private LinkNode pre;
	
	public LinkNode(){
		
	}
	
	public LinkNode( ILinkData data){

		this.data = data;
	}
	/**
	 * @return the data
	 */
	public ILinkData getData() {
		return data;
	}
	/**
	 * @param data the data to set
	 */
	public void setData(ILinkData data) {
		this.data = data;
	}
	/**
	 * @return the next
	 */
	public LinkNode getNext() {
		return next;
	}
	/**
	 * @param next the next to set
	 */
	public void setNext(LinkNode next) {
		this.next = next;
	}
	/**
	 * @return the pre
	 */
	public LinkNode getPre() {
		return pre;
	}
	/**
	 * @param pre the pre to set
	 */
	public void setPre(LinkNode pre) {
		this.pre = pre;
	}
	
	
	
	
}
